3.1.60 \(\int \frac {x^2}{(a x^2+b x^3+c x^4)^{3/2}} \, dx\)

Optimal. Leaf size=94 \[ \frac {2 x \left (-2 a c+b^2+b c x\right )}{a \left (b^2-4 a c\right ) \sqrt {a x^2+b x^3+c x^4}}-\frac {\tanh ^{-1}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{a^{3/2}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1922, 1904, 206} \begin {gather*} \frac {2 x \left (-2 a c+b^2+b c x\right )}{a \left (b^2-4 a c\right ) \sqrt {a x^2+b x^3+c x^4}}-\frac {\tanh ^{-1}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{a^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2/(a*x^2 + b*x^3 + c*x^4)^(3/2),x]

[Out]

(2*x*(b^2 - 2*a*c + b*c*x))/(a*(b^2 - 4*a*c)*Sqrt[a*x^2 + b*x^3 + c*x^4]) - ArcTanh[(x*(2*a + b*x))/(2*Sqrt[a]
*Sqrt[a*x^2 + b*x^3 + c*x^4])]/a^(3/2)

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 1904

Int[1/Sqrt[(a_.)*(x_)^2 + (b_.)*(x_)^(n_.) + (c_.)*(x_)^(r_.)], x_Symbol] :> Dist[-2/(n - 2), Subst[Int[1/(4*a
 - x^2), x], x, (x*(2*a + b*x^(n - 2)))/Sqrt[a*x^2 + b*x^n + c*x^r]], x] /; FreeQ[{a, b, c, n, r}, x] && EqQ[r
, 2*n - 2] && PosQ[n - 2] && NeQ[b^2 - 4*a*c, 0]

Rule 1922

Int[(x_)^(m_.)*((b_.)*(x_)^(n_.) + (a_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.))^(p_), x_Symbol] :> -Simp[(x^(m - q + 1
)*(b^2 - 2*a*c + b*c*x^(n - q))*(a*x^q + b*x^n + c*x^(2*n - q))^(p + 1))/(a*(n - q)*(p + 1)*(b^2 - 4*a*c)), x]
 + Dist[(2*a*c - b^2*(p + 2))/(a*(p + 1)*(b^2 - 4*a*c)), Int[x^(m - q)*(a*x^q + b*x^n + c*x^(2*n - q))^(p + 1)
, x], x] /; FreeQ[{a, b, c}, x] && EqQ[r, 2*n - q] && PosQ[n - q] &&  !IntegerQ[p] && NeQ[b^2 - 4*a*c, 0] && I
GtQ[n, 0] && LtQ[p, -1] && RationalQ[m, p, q] && EqQ[m + p*q + 1, -((n - q)*(2*p + 3))]

Rubi steps

\begin {align*} \int \frac {x^2}{\left (a x^2+b x^3+c x^4\right )^{3/2}} \, dx &=\frac {2 x \left (b^2-2 a c+b c x\right )}{a \left (b^2-4 a c\right ) \sqrt {a x^2+b x^3+c x^4}}+\frac {\int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx}{a}\\ &=\frac {2 x \left (b^2-2 a c+b c x\right )}{a \left (b^2-4 a c\right ) \sqrt {a x^2+b x^3+c x^4}}-\frac {2 \operatorname {Subst}\left (\int \frac {1}{4 a-x^2} \, dx,x,\frac {x (2 a+b x)}{\sqrt {a x^2+b x^3+c x^4}}\right )}{a}\\ &=\frac {2 x \left (b^2-2 a c+b c x\right )}{a \left (b^2-4 a c\right ) \sqrt {a x^2+b x^3+c x^4}}-\frac {\tanh ^{-1}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{a^{3/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.13, size = 109, normalized size = 1.16 \begin {gather*} \frac {x \left (b^2-4 a c\right ) \sqrt {a+x (b+c x)} \tanh ^{-1}\left (\frac {2 a+b x}{2 \sqrt {a} \sqrt {a+x (b+c x)}}\right )-2 \sqrt {a} x \left (-2 a c+b^2+b c x\right )}{a^{3/2} \left (4 a c-b^2\right ) \sqrt {x^2 (a+x (b+c x))}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2/(a*x^2 + b*x^3 + c*x^4)^(3/2),x]

[Out]

(-2*Sqrt[a]*x*(b^2 - 2*a*c + b*c*x) + (b^2 - 4*a*c)*x*Sqrt[a + x*(b + c*x)]*ArcTanh[(2*a + b*x)/(2*Sqrt[a]*Sqr
t[a + x*(b + c*x)])])/(a^(3/2)*(-b^2 + 4*a*c)*Sqrt[x^2*(a + x*(b + c*x))])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 1.84, size = 124, normalized size = 1.32 \begin {gather*} -\frac {2 \log (x)}{a^{3/2}}+\frac {\log \left (-2 a^{3/2} \sqrt {a x^2+b x^3+c x^4}+2 a^2 x+a b x^2\right )}{a^{3/2}}+\frac {2 \sqrt {a x^2+b x^3+c x^4} \left (2 a c-b^2-b c x\right )}{a x \left (4 a c-b^2\right ) \left (a+b x+c x^2\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[x^2/(a*x^2 + b*x^3 + c*x^4)^(3/2),x]

[Out]

(2*(-b^2 + 2*a*c - b*c*x)*Sqrt[a*x^2 + b*x^3 + c*x^4])/(a*(-b^2 + 4*a*c)*x*(a + b*x + c*x^2)) - (2*Log[x])/a^(
3/2) + Log[2*a^2*x + a*b*x^2 - 2*a^(3/2)*Sqrt[a*x^2 + b*x^3 + c*x^4]]/a^(3/2)

________________________________________________________________________________________

fricas [B]  time = 1.41, size = 411, normalized size = 4.37 \begin {gather*} \left [\frac {{\left ({\left (b^{2} c - 4 \, a c^{2}\right )} x^{3} + {\left (b^{3} - 4 \, a b c\right )} x^{2} + {\left (a b^{2} - 4 \, a^{2} c\right )} x\right )} \sqrt {a} \log \left (-\frac {8 \, a b x^{2} + {\left (b^{2} + 4 \, a c\right )} x^{3} + 8 \, a^{2} x - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {a}}{x^{3}}\right ) + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (a b c x + a b^{2} - 2 \, a^{2} c\right )}}{2 \, {\left ({\left (a^{2} b^{2} c - 4 \, a^{3} c^{2}\right )} x^{3} + {\left (a^{2} b^{3} - 4 \, a^{3} b c\right )} x^{2} + {\left (a^{3} b^{2} - 4 \, a^{4} c\right )} x\right )}}, \frac {{\left ({\left (b^{2} c - 4 \, a c^{2}\right )} x^{3} + {\left (b^{3} - 4 \, a b c\right )} x^{2} + {\left (a b^{2} - 4 \, a^{2} c\right )} x\right )} \sqrt {-a} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {-a}}{2 \, {\left (a c x^{3} + a b x^{2} + a^{2} x\right )}}\right ) + 2 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (a b c x + a b^{2} - 2 \, a^{2} c\right )}}{{\left (a^{2} b^{2} c - 4 \, a^{3} c^{2}\right )} x^{3} + {\left (a^{2} b^{3} - 4 \, a^{3} b c\right )} x^{2} + {\left (a^{3} b^{2} - 4 \, a^{4} c\right )} x}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(c*x^4+b*x^3+a*x^2)^(3/2),x, algorithm="fricas")

[Out]

[1/2*(((b^2*c - 4*a*c^2)*x^3 + (b^3 - 4*a*b*c)*x^2 + (a*b^2 - 4*a^2*c)*x)*sqrt(a)*log(-(8*a*b*x^2 + (b^2 + 4*a
*c)*x^3 + 8*a^2*x - 4*sqrt(c*x^4 + b*x^3 + a*x^2)*(b*x + 2*a)*sqrt(a))/x^3) + 4*sqrt(c*x^4 + b*x^3 + a*x^2)*(a
*b*c*x + a*b^2 - 2*a^2*c))/((a^2*b^2*c - 4*a^3*c^2)*x^3 + (a^2*b^3 - 4*a^3*b*c)*x^2 + (a^3*b^2 - 4*a^4*c)*x),
(((b^2*c - 4*a*c^2)*x^3 + (b^3 - 4*a*b*c)*x^2 + (a*b^2 - 4*a^2*c)*x)*sqrt(-a)*arctan(1/2*sqrt(c*x^4 + b*x^3 +
a*x^2)*(b*x + 2*a)*sqrt(-a)/(a*c*x^3 + a*b*x^2 + a^2*x)) + 2*sqrt(c*x^4 + b*x^3 + a*x^2)*(a*b*c*x + a*b^2 - 2*
a^2*c))/((a^2*b^2*c - 4*a^3*c^2)*x^3 + (a^2*b^3 - 4*a^3*b*c)*x^2 + (a^3*b^2 - 4*a^4*c)*x)]

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(c*x^4+b*x^3+a*x^2)^(3/2),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError >> Unable to parse Giac output: Warning, choosing root of [1,0,%%%{-4,[1
,0,0,0]%%%}+%%%{-2,[0,1,0,1]%%%}+%%%{-2,[0,0,1,2]%%%},0,%%%{1,[0,2,0,2]%%%}+%%%{2,[0,1,1,3]%%%}+%%%{1,[0,0,2,4
]%%%}] at parameters values [54.7579903365,-49,-33,-70]2*(-(-4*a*c+2*b^2)/(8*a^2*c-2*a*b^2)/x-2*b*c/(8*a^2*c-2
*a*b^2))*sqrt(a*(1/x)^2+b/x+c)/(a*(1/x)^2+b/x+c)+1/a/sqrt(a)*ln(abs(2*sqrt(a)*(sqrt(a*(1/x)^2+b/x+c)-sqrt(a)/x
)-b))

________________________________________________________________________________________

maple [A]  time = 0.01, size = 166, normalized size = 1.77 \begin {gather*} -\frac {\left (c \,x^{2}+b x +a \right ) \left (2 a^{\frac {3}{2}} b c x +4 \sqrt {c \,x^{2}+b x +a}\, a^{2} c \ln \left (\frac {b x +2 a +2 \sqrt {c \,x^{2}+b x +a}\, \sqrt {a}}{x}\right )-\sqrt {c \,x^{2}+b x +a}\, a \,b^{2} \ln \left (\frac {b x +2 a +2 \sqrt {c \,x^{2}+b x +a}\, \sqrt {a}}{x}\right )-4 a^{\frac {5}{2}} c +2 a^{\frac {3}{2}} b^{2}\right ) x^{3}}{\left (c \,x^{4}+b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}} \left (4 a c -b^{2}\right ) a^{\frac {5}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(c*x^4+b*x^3+a*x^2)^(3/2),x)

[Out]

-x^3*(c*x^2+b*x+a)*(2*a^(3/2)*x*b*c+4*(c*x^2+b*x+a)^(1/2)*ln((b*x+2*a+2*(c*x^2+b*x+a)^(1/2)*a^(1/2))/x)*a^2*c-
(c*x^2+b*x+a)^(1/2)*ln((b*x+2*a+2*(c*x^2+b*x+a)^(1/2)*a^(1/2))/x)*a*b^2-4*a^(5/2)*c+2*a^(3/2)*b^2)/(c*x^4+b*x^
3+a*x^2)^(3/2)/a^(5/2)/(4*a*c-b^2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{{\left (c x^{4} + b x^{3} + a x^{2}\right )}^{\frac {3}{2}}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(c*x^4+b*x^3+a*x^2)^(3/2),x, algorithm="maxima")

[Out]

integrate(x^2/(c*x^4 + b*x^3 + a*x^2)^(3/2), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{{\left (c\,x^4+b\,x^3+a\,x^2\right )}^{3/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(a*x^2 + b*x^3 + c*x^4)^(3/2),x)

[Out]

int(x^2/(a*x^2 + b*x^3 + c*x^4)^(3/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (x^{2} \left (a + b x + c x^{2}\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/(c*x**4+b*x**3+a*x**2)**(3/2),x)

[Out]

Integral(x**2/(x**2*(a + b*x + c*x**2))**(3/2), x)

________________________________________________________________________________________